package com.pxst.merchant.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MerchantSummaryReportResp {

    @ApiModelProperty(value = "代理id")
    private Long id;

    @ApiModelProperty(value = "代理id(报表用)")
    private String displayId;

    @ApiModelProperty(value = "代理name")
    private String agentName;

    @ApiModelProperty(value = "所属总代id")
    private String topAgentId;

    @ApiModelProperty(value = "所属总代name")
    private String topAgentName;

    @ApiModelProperty(value = "商户code")
    private String merchantCode;

    @ApiModelProperty(value = "商户name")
    private String merchantName;

    @ApiModelProperty(value = "货币")
    private String currency;

    @ApiModelProperty(value = "抽成")
    //fiBankMarkupRate+fiQrpayMarkupRate+fiTruewalletMarkupRate+foMarkupRate
    private BigDecimal markup;

    @ApiModelProperty(value = "返点")
    //fiTruewalletRebate+foBankRebate+foQrpayRebate+foRebate
    private BigDecimal rebate;

    @ApiModelProperty(value = "调整")
    //ajCredit-ajDebit
    private BigDecimal monthlyAdjustment;

    @ApiModelProperty(value = "总计=抽成+返点+调整")
    private BigDecimal total;

    @ApiModelProperty(value = "银行充值")
    private BigDecimal fiBankBalance;

    @ApiModelProperty(value = "qrpay 充值")
    private BigDecimal fiQrpayBalance;

    @ApiModelProperty(value = "代付")
    private BigDecimal foBalance;

    @ApiModelProperty(value = "交易费")
    //fiBankFees+fiQrpayFees+fiTruewalletFees+foFees+fxFees
    private BigDecimal totalFee;

}
